package cn.waxcc.service.impl;

import cn.waxcc.mapper.BsMedicineMapper;
import cn.waxcc.pojo.BsMedicine;
import cn.waxcc.service.BsMedicineService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @program: springboot-medicalapp
 * @ClassName BsMedicineServiceImpl
 * @description:
 * @author: JYF
 * @create: 2023-04-17 10:29
 * @Version 1.0
 */
@Service
public class BsMedicineServiceImpl implements BsMedicineService {

    @Autowired
    private BsMedicineMapper bsMedicineMapper;

    @Override
    public List<BsMedicine> findAll() {
        return bsMedicineMapper.findAll();
    }
}
